Incorporate @somadona's feedback on how to modify the Procfile

Dominik Sander 9 jaren geleden
bovenliggende
commit
fad4a44ec4
1 gewijzigde bestanden met toevoegingen van 11 en 1 verwijderingen
  1. 11 1
      doc/manual/installation.md

+ 11 - 1
doc/manual/installation.md

@@ -233,10 +233,20 @@ When done you see `See the Huginn Wiki for more Agent examples!  https://github.
233 233
 
234 234
 Huginn uses [foreman](http://ddollar.github.io/foreman/) to generate the init scripts based on a `Procfile`
235 235
 
236
-Edit the `Procfile` and choose one of the suggested versions for production
236
+Edit the [`Procfile`](https://github.com/cantino/huginn/blob/master/Procfile) and choose one of the suggested versions for production
237 237
 
238 238
     sudo -u huginn -H editor Procfile
239 239
 
240
+Comment out (disable) [these two lines](https://github.com/cantino/huginn/blob/master/Procfile#L6-L7)
241
+
242
+    web: bundle exec rails server -p ${PORT-3000} -b ${IP-0.0.0.0}
243
+    jobs: bundle exec rails runner bin/threaded.rb
244
+
245
+Enable (remove the comment) [from these lines](https://github.com/cantino/huginn/blob/master/Procfile#L24-L25) or [those](https://github.com/cantino/huginn/blob/master/Procfile#L28-L31)
246
+
247
+    # web: bundle exec unicorn -c config/unicorn.rb
248
+    # jobs: bundle exec rails runner bin/threaded.rb
249
+
240 250
 Export the init scripts:
241 251
 
242 252
     sudo bundle exec rake production:export